.blocks-gallery-grid:not(.has-nested-images),.gc-block-gallery:not(.has-nested-images){
  display:flex;
  flex-wrap:wrap;
  list-style-type:none;
  margin:0;
  padding:0;
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-image,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-item{
  display:flex;
  flex-direction:column;
  flex-grow:1;
  justify-content:center;
  margin:0 0 1em 1em;
  position:relative;
  width:calc(50% - 1em);
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n),.gc-block-gallery:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.gc-block-gallery:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n){
  margin-left:0;
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figure,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figure,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-image figure,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-item figure{
  align-items:flex-end;
  display:flex;
  height:100%;
  justify-content:flex-start;
  margin:0;
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item img,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-image img,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-item img{
  display:block;
  height:auto;
  max-width:100%;
  width:auto;
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption{
  background:linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.3) 70%, transparent);
  bottom:0;
  box-sizing:border-box;
  color:#fff;
  font-size:.8em;
  margin:0;
  max-height:100%;
  overflow:auto;
  padding:3em .77em .7em;
  position:absolute;
  text-align:center;
  width:100%;
  z-index:2;
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption img,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption img,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption img{
  display:inline;
}
.blocks-gallery-grid:not(.has-nested-images) figcaption,.gc-block-gallery:not(.has-nested-images) figcaption{
  flex-grow:1;
}
.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item img,.gc-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image a,.gc-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image img,.gc-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item a,.gc-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item img{
  flex:1;
  height:100%;
  object-fit:cover;
  width:100%;
}
.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item,.gc-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image,.gc-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item{
  margin-left:0;
  width:100%;
}
@media (min-width:600px){
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item,.gc-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image,.gc-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item{
    margin-left:1em;
    width:calc(33.33333% - .66667em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item,.gc-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image,.gc-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item{
    margin-left:1em;
    width:calc(25% - .75em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item,.gc-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image,.gc-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item{
    margin-left:1em;
    width:calc(20% - .8em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item,.gc-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image,.gc-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item{
    margin-left:1em;
    width:calc(16.66667% - .83333em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item,.gc-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image,.gc-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item{
    margin-left:1em;
    width:calc(14.28571% - .85714em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item,.gc-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image,.gc-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item{
    margin-left:1em;
    width:calc(12.5% - .875em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n),.gc-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.gc-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.gc-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.gc-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.gc-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.gc-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.gc-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.gc-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.gc-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.gc-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.gc-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.gc-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.gc-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.gc-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.gc-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.gc-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n){
    margin-left:0;
  }
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:last-child,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:last-child,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-image:last-child,.gc-block-gallery:not(.has-nested-images) .blocks-gallery-item:last-child{
  margin-left:0;
}
.blocks-gallery-grid:not(.has-nested-images).alignleft,.blocks-gallery-grid:not(.has-nested-images).alignright,.gc-block-gallery:not(.has-nested-images).alignleft,.gc-block-gallery:not(.has-nested-images).alignright{
  max-width:420px;
  width:100%;
}
.blocks-gallery-grid:not(.has-nested-images).aligncenter .blocks-gallery-item figure,.gc-block-gallery:not(.has-nested-images).aligncenter .blocks-gallery-item figure{
  justify-content:center;
}

.gc-block-gallery:not(.is-cropped) .blocks-gallery-item{
  align-self:flex-start;
}

figure.gc-block-gallery.has-nested-images{
  align-items:normal;
}

.gc-block-gallery.has-nested-images figure.gc-block-image:not(#individual-image){
  margin:0;
  width:calc(50% - var(--gc--style--unstable-gallery-gap, 16px)/2);
}
.gc-block-gallery.has-nested-images figure.gc-block-image{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  flex-grow:1;
  justify-content:center;
  max-width:100%;
  position:relative;
}
.gc-block-gallery.has-nested-images figure.gc-block-image>a,.gc-block-gallery.has-nested-images figure.gc-block-image>div{
  flex-direction:column;
  flex-grow:1;
  margin:0;
}
.gc-block-gallery.has-nested-images figure.gc-block-image img{
  display:block;
  height:auto;
  max-width:100% !important;
  width:auto;
}
.gc-block-gallery.has-nested-images figure.gc-block-image figcaption{
  background:linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.3) 70%, transparent);
  bottom:0;
  box-sizing:border-box;
  color:#fff;
  font-size:13px;
  margin-bottom:0;
  max-height:60%;
  overflow:auto;
  padding:0 8px 8px;
  position:absolute;
  right:0;
  text-align:center;
  width:100%;
}
.gc-block-gallery.has-nested-images figure.gc-block-image figcaption img{
  display:inline;
}
.gc-block-gallery.has-nested-images figure.gc-block-image figcaption a{
  color:inherit;
}
.gc-block-gallery.has-nested-images figure.gc-block-image.has-custom-border img{
  box-sizing:border-box;
}
.gc-block-gallery.has-nested-images figure.gc-block-image.has-custom-border>a,.gc-block-gallery.has-nested-images figure.gc-block-image.has-custom-border>div,.gc-block-gallery.has-nested-images figure.gc-block-image.is-style-rounded>a,.gc-block-gallery.has-nested-images figure.gc-block-image.is-style-rounded>div{
  flex:1 1 auto;
}
.gc-block-gallery.has-nested-images figure.gc-block-image.has-custom-border figcaption,.gc-block-gallery.has-nested-images figure.gc-block-image.is-style-rounded figcaption{
  background:none;
  color:inherit;
  flex:initial;
  margin:0;
  padding:10px 10px 9px;
  position:relative;
}
.gc-block-gallery.has-nested-images figcaption{
  flex-basis:100%;
  flex-grow:1;
  text-align:center;
}
.gc-block-gallery.has-nested-images:not(.is-cropped) figure.gc-block-image:not(#individual-image){
  margin-bottom:auto;
  margin-top:0;
}
.gc-block-gallery.has-nested-images.is-cropped figure.gc-block-image:not(#individual-image){
  align-self:inherit;
}
.gc-block-gallery.has-nested-images.is-cropped figure.gc-block-image:not(#individual-image)>a,.gc-block-gallery.has-nested-images.is-cropped figure.gc-block-image:not(#individual-image)>div:not(.components-drop-zone){
  display:flex;
}
.gc-block-gallery.has-nested-images.is-cropped figure.gc-block-image:not(#individual-image) a,.gc-block-gallery.has-nested-images.is-cropped figure.gc-block-image:not(#individual-image) img{
  flex:1 0 0%;
  height:100%;
  object-fit:cover;
  width:100%;
}
.gc-block-gallery.has-nested-images.columns-1 figure.gc-block-image:not(#individual-image){
  width:100%;
}
@media (min-width:600px){
  .gc-block-gallery.has-nested-images.columns-3 figure.gc-block-image:not(#individual-image){
    width:calc(33.33333% - var(--gc--style--unstable-gallery-gap, 16px)*.66667);
  }
  .gc-block-gallery.has-nested-images.columns-4 figure.gc-block-image:not(#individual-image){
    width:calc(25% - var(--gc--style--unstable-gallery-gap, 16px)*.75);
  }
  .gc-block-gallery.has-nested-images.columns-5 figure.gc-block-image:not(#individual-image){
    width:calc(20% - var(--gc--style--unstable-gallery-gap, 16px)*.8);
  }
  .gc-block-gallery.has-nested-images.columns-6 figure.gc-block-image:not(#individual-image){
    width:calc(16.66667% - var(--gc--style--unstable-gallery-gap, 16px)*.83333);
  }
  .gc-block-gallery.has-nested-images.columns-7 figure.gc-block-image:not(#individual-image){
    width:calc(14.28571% - var(--gc--style--unstable-gallery-gap, 16px)*.85714);
  }
  .gc-block-gallery.has-nested-images.columns-8 figure.gc-block-image:not(#individual-image){
    width:calc(12.5% - var(--gc--style--unstable-gallery-gap, 16px)*.875);
  }
  .gc-block-gallery.has-nested-images.columns-default figure.gc-block-image:not(#individual-image){
    width:calc(33.33% - var(--gc--style--unstable-gallery-gap, 16px)*.66667);
  }
  .gc-block-gallery.has-nested-images.columns-default figure.gc-block-image:not(#individual-image):first-child:nth-last-child(2),.gc-block-gallery.has-nested-images.columns-default figure.gc-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.gc-block-image:not(#individual-image){
    width:calc(50% - var(--gc--style--unstable-gallery-gap, 16px)*.5);
  }
  .gc-block-gallery.has-nested-images.columns-default figure.gc-block-image:not(#individual-image):first-child:last-child{
    width:100%;
  }
}
.gc-block-gallery.has-nested-images.alignleft,.gc-block-gallery.has-nested-images.alignright{
  max-width:420px;
  width:100%;
}
.gc-block-gallery.has-nested-images.aligncenter{
  justify-content:center;
}